package com.jumi.microservice.common.exception;

import com.jumi.microservice.common.enumeration.IResponseEnum;

/**
 * - - - - - - - - - - - - - - -
 * 自定义异常返回msg
 * @author liuz
 * @date 2020/7/24 14:33
 * ToDoSomeThing
 * - - - - - - - - - - - - - - -
 */
public class IResponseExceptionMsg implements IResponseEnum {

    private Integer code;

    private String message;

    public IResponseExceptionMsg(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
